import com.sun.corba.se.impl.protocol.giopmsgheaders.LocateReplyMessage_1_0;
import org.junit.Test;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @ClassName LambdaTest
 * @Author mengjiafeng
 * @Date 2019/11/19 19:25
 **/
public class LambdaTest {
    @Test
    public void getString(){
        List<String> list=Arrays.asList("aaa","bbb","ccc");
        list.stream().map(String::toUpperCase).forEach(System.out::print);
//        System.out.println(string);
    }


}
